import Vue from 'vue'
import App from './App'
import axios from './http/http'
import router from './router'
import ElementUI from 'element-ui'
//import Vueresource from 'vue-resource'
import $ from 'jquery'
import 'bootstrap/dist/js/bootstrap.min.js'
import 'bootstrap/dist/css/bootstrap.min.css'
//Vue.use(Vueresource)
Vue.use(ElementUI)
Vue.config.productionTip = false
Vue.prototype.$http = axios

import filters from './filters'
Object.keys(filters).forEach((key) => { Vue.filter(key, filters[key][key]) })

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  render: h => h(App),
})
